package com.fx.eduorder.client;


import com.fx.commonuntils.commonresponse.CourstomOrderInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;



@Component
@FeignClient("service-edu2")
public interface EduClient {

    //根据课程id查询课程信息
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourstomOrderInfo getCourseInfoOrder(@PathVariable("id") String id);



}
